package com.qidian.mes.pro.mapper;

import com.qidian.mes.pojo.pro.ProWorkorder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 郭靖旖
 * @Company
 * @Time 2023/10/26 14:56
 * @Description
 **/
@Mapper
public interface ProWorkorderMapper {
    //按特定条件进行分页查询
    List<ProWorkorder> list(ProWorkorder proWorkorder);

    //分页查询全部条件
    List<ProWorkorder> selectallByPage();

    //添加新增工单
    int save(ProWorkorder proWorkorder);
   //根据工单编号查询工单信息
   List<ProWorkorder> selectByWorkorderCode(String workorderCode);
   //编辑状态
   int updateStatus(String workorderCode);
   //删除工单
    int deleteWorkorder(String workorderCode);

}
